﻿using System.Drawing;
using System.Windows.Forms;
using Titan.WinFormSys.Entity;

namespace Titan.WinFormSys
{
    /// <summary>
    /// 客户端窗体基类
    /// </summary>
    public partial class FrmBase : Form
    {
        /// <summary>
        /// 用户登录信息
        /// </summary>
        public static UserInfoEntity UserInfo = null;

        /// <summary>
        /// 窗口基类
        /// </summary>
        public FrmBase()
        {
            InitializeComponent();
            TopLevel = false;
        }

        /// <summary>
        /// 全屏
        /// </summary>
        public void FullScreen()
        {
            
        }

        /// <summary>
        /// 关闭窗体
        /// </summary>
        public void CloseForm(Form form)
        {
            //((UltraTabControl)form.Parent.Parent).Tabs.Remove((UltraTabControl)form.Parent);
        }
    }
}
